<!--
  Generated template for the HomePage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

	<ion-navbar>
		<ion-title>home</ion-title>
	</ion-navbar>

</ion-header>

<ion-content padding>
	<img src="{{inputViewModel.upload}}" />
	<button ion-button (click)="picupload()">文件上传</button>
	<div>图片预加载</div>
	<div style="width:100%;height: 250px;">
		<img-loader src="https://ss1.bdstatic.com/70cFvXSh_Q1YnxGkpoWK1HF6hhy/it/u=285340935,1098169618&fm=200&gp=0.jpg" tappable (click)="doshow()"></img-loader>
	</div>

	<button ion-button (click)="openchat()">打开聊天</button>
</ion-content>